package ast;

public class InstVarDecNode extends Node{
	public String access;

	public InstVarDecNode(String a, TypeDecNode btdn) {
		access = a;
		left = btdn;
		right = null;
	}
	
	public InstVarDecNode(String a, ObjTypeDecNode otdn) {
		access = a;
		left = otdn;
		right = null;
	}

	public Object accept(Visitor v) {
		return v.visit(this);
	}
}